

/**
 * 判断变量是否有值 value !== null && value !== undefined
 * @param value 目标变量
 */
const isNotEmpty = (value: any): boolean => {
  return value !== null && value !== undefined;
};

/**
 * 判断变量是否有值 value === null || value === undefined
 * @param value 目标变量
 */
const isEmpty = (value: any): boolean => {
  return value === null || value === undefined;
};



export {  isNotEmpty, isEmpty };
